<template>
  <article-code-test-case label-text="测试用例" add-button="添加测试用例" v-model="testCase" :has-tip="true"/>
</template>

<script>
import ArticleCodeTestCase from '@/components/article-menu/test/article-code-test-case'
import { ref } from 'vue'
export default {
  name: 'problem-test-case',
  components: { ArticleCodeTestCase },
  setup () {
    return {
      testCase: ref({
        problemId: 0,
        testInOuts: [{
          input: '',
          output: '',
          tip: '',
          rank: ''
        }],
        time_limit: 0,
        memory_limit: 0,
        rank: ''
      })
    }
  }
}
</script>

<style scoped>

</style>
